package com.zkzx.common.freight.model;

import com.zkzx.common.driver.model.DriverVO;
import com.zkzx.common.truck.model.TruckVO;
import com.zkzx.common.vo.StatusVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 北京中科智兴物联科技有限公司 @版权所有
 *
 * @Author: zhaoyihe@zkraising.com
 * @Date: 2021/05/12/16:33
 * @Description:
 */

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "OrderListVO", description = "订单分页信息")
public class OrderListVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ApiModelProperty(value = "id", example = "10086")
    private Integer id;

    /**
     * 企业id
     */
    @ApiModelProperty(value = "企业id", name = "company_id",example = "10086")
    private Integer companyId;

    /**
     * 企业名字
     */
    @ApiModelProperty(value = "企业名字", name = "company_name",example = "北京鑫海韵通物流有限责任公司")
    private String companyName;

    /**
     * 订单CID
     */
    @ApiModelProperty(value = "订单cid", example = "segateyd202105135456")
    private String cid;

    /**
     * 运单号
     */
    @ApiModelProperty(value = "运单号", name = "code",example = "2020121820000011")
    private String code;


    /**
     * 订单信息-发货方信息收货信息
     */
    @ApiModelProperty(value = "订单信息-发货方信息收货信息", name = "order_delivery_vo")
    private OrderDeliveryVO orderDeliveryVO;

    /**
     * 订单信息-货物内容
     */
    @ApiModelProperty(value = "订单信息-货物内容", name = "order_item_vo")
    private OrderItemVO orderItemVO;

    /**
     *  运费信息
     */
    @ApiModelProperty(value = "运费信息", name = "order_Payable_vo")
    private OrderPayableVO orderPayableVO;

    /**
     *异常原因
     */
    @ApiModelProperty(value = "异常原因注", example = "车辆异常")
    private String reason;

    /**
     *发起时间
     */
    @ApiModelProperty(value = "发起时间", example = "2021-03-15 17:36")
    private String submitTime;


    /**s
     * 状态
     */
    @ApiModelProperty(value = "状态", name = "status_vo", example = "NO_SUB")
    private StatusVO statusVO;


    /**
     * 司机id
     */
    @ApiModelProperty(value = "司机id", name = "driver_id",example = "10086")
    private String driverId;

    /**
     * 司机姓名
     */
    @ApiModelProperty(value = "name", name = "driver_name",example = "张三")
    private String driverName;

    /**
     * 车辆id
     */
    @ApiModelProperty(value = "车辆id",name = "truckid",example = "10086")
    private String truckId;

    /**
     * 车牌号
     */
    @ApiModelProperty(value = "车牌号",name = "truck_code",example = "京A88888")
    private String truckCode;


    /**
     * 车辆信息
     */
    @ApiModelProperty(value = "车辆信息",name = "truck_vo")
    private TruckVO truckVO;

    /**
     * 司机电话
     */
    @ApiModelProperty(value = "司机电话", name = "driver_mobile",example = "1888888888888")
    private String driverMobile;

}
